import request from '@/utils/request'

// 查询公司资质列表 - 分页
export function comqualificationsPages(query) {
    return request({
        url: '/asl/companyAptitude',
        method: 'get',
        params: query
    })
}

// 新建公司资质
export function createComqualifications(data) {
    return request({
        url: '/asl/companyAptitude',
        method: 'post',
        data: data
    })
}

// 编辑公司资质
export function editComqualifications(data) {
    return request({
        url: '/asl/companyAptitude',
        method: 'put',
        data: data
    })
}

// 删除公司资质
export function removeComqualifications(query) {
    return request({
        url: '/asl/companyAptitude',
        method: 'delete',
        params: query
    })
}